package com.ruoyix.aicode.domain;

/**
 * HTML标签解析用Token类
 */
public class TagToken {
    private String name;
    private boolean isStartTag;
    private int position;

    public TagToken(String name, boolean isStartTag, int position) {
        this.name = name;
        this.isStartTag = isStartTag;
        this.position = position;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isStartTag() {
        return isStartTag;
    }

    public void setStartTag(boolean startTag) {
        isStartTag = startTag;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }
}
